package com.suda.sudaexamsystem.dto;

public class UserDto {
    private int id;
    private String name;
    // 登录昵称
    private String loginName;
    private char sex;

    public UserDto() {
    }

    public UserDto(int id, String name, String loginName, char sex) {
        this.id = id;
        this.name = name;
        this.loginName = loginName;
        this.sex = sex;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }
}
